namespace Cz
{
    /// <summary>
    /// 配置信息
    /// </summary>
    [CzService]
    public interface ICzConfig : ICzBase
    {
        event CzEvent OnChange;
        
        T Get<T>(params string[] keys);
        T GetCanNull<T>(params string[] keys);
        T GetWithDefault<T>(T def, params string[] keys);
        void Set<T>(T val, params string[] keys);
        void ReSet();
    }
}